Skip to content

Conversation

@gaymeowing
Copy link
Contributor

Changes

  • Removes reccomendation of pairs() and replaces it with generic iteration
  • Renames the deepCopy function to deepClone
  • Makes the deepClone function use table.clone
  • Fix deepFreeze erroring if a value is already frozen
  • Explains dot indexing for dictionaries .key
  • Removes warning for using ipairs to iterate over a dictionary, as ipairs is unnessary to use unless wanting to stop at the first nil in a array with holes (a behavior that is very rarely desired)

The last one is a bit iffy so feel free to reverse it. Also unsure if the wording for Write to dictionaries is the best, but I think the added warning clears it up.

Checks

By submitting your pull request for review, you agree to the following:

  • This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
  • I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
  • To the best of my knowledge, all proposed changes are accurate.

@gaymeowing gaymeowing requested a review from a team as a code owner May 1, 2025 12:30
@github-actions github-actions bot added the engine guides Changes the Engine guides label May 1, 2025
@IgnisRBX IgnisRBX merged commit c08c2fc into Roblox:main May 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine guides Changes the Engine guides

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants